﻿@model SGC_CarteraClientes.Models.CA_PRODUCTO

@{
    ViewBag.Title = "Create";
}

<h2>Nuevo Producto</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Productos</legend>

        <div class="editor-label">
            @Html.Label("Codigo")
            @*@Html.LabelFor(model => model.PROD_ID)*@
        </div>
        <div class="editor-field">
            @Html.Label("---")
            @*
            @Html.EditorFor(model => model.PROD_ID)
            @Html.ValidationMessageFor(model => model.PROD_ID)
            *@
        </div>

        <div class="editor-label">
            @Html.Label("Nombre del producto")
            @*@Html.LabelFor(model => model.PROD_NOMB)*@
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROD_NOMB)
            @Html.ValidationMessageFor(model => model.PROD_NOMB)
        </div>

        <div class="editor-label">
            @Html.Label("Fecha Vigencia")
            @*@Html.LabelFor(model => model.PROD_FECHVIG)*@
        </div>
        <div class="editor-field d-tcal">
            @Html.EditorFor(model => model.PROD_FECHVIG, new {@class="tcal" })
            @Html.ValidationMessageFor(model => model.PROD_FECHVIG)
        </div>

        <div class="editor-label">
            @Html.Label("Precio de Venta")
            @*@Html.LabelFor(model => model.PROD_PRECIOVTA)*@
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROD_PRECIOVTA)
            @Html.ValidationMessageFor(model => model.PROD_PRECIOVTA)
        </div>

        <div class="editor-label">
            @Html.Label("Plan de Desarrollo")
            @*@Html.LabelFor(model => model.PLD_ID, "CA_PLD")*@
        </div>
        <div class="editor-field">
            @Html.DropDownList("PLD_ID", String.Empty)
           @Html.ValidationMessageFor(model => model.PLD_ID)
        </div>


        <p>
            <input type="submit" value="Grabar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Cancelar", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    @Styles.Render("~/Content/themes/base/css")
}
<script type="text/javascript">
   
</script>